<div class="container-fluid" style="padding: 20px 10px 0px 10px">
    <div class="row-fluid">
        <div class="well">
            <ul class="nav nav-tabs">
                <li class="active"><b>退货理由</b></li>
            </ul>
            <div id="myTabContent" class="tab-content">
                <div class="tab-pane active in" id="home">
                    <p>退货理由：<input type="text" value="{{$refunds[$sData['refund_type']]}}" disabled /></p>
                    <!--<p>退款金额：<input type="text" value="{{$sData['refund_mon']}}" disabled /></p>-->
                    <foreach name="refundsImgs" item="vo">
                    <p>退款图片：<input type="text" placeholder="退款商品图片" name="refund_imgs" class="setImdText" value="{{$vo}}" readonly>&nbsp;<a class="btn btn-warning  picViews" <?=$vo ? '' : 'disabled title="暂不可用"'?> url="<?=$vo ? $vo : ''?>" style='margin-top:-8px'>查看</a></p>
                    </foreach>
                    <p>退货说明：<textarea name="remark" placeholder="退货说明" style="width:499px;margin-top:-19px;margin-left:70px" />{{$sData['refund_content']}}</textarea></p>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    $(function(){
        $('.picViews').click(function(){
            var url = $(this).parent().find('a').attr('url');
            if(url != ''){
                showimg(url);
            }
        });
    });
</script>